UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

MIME types for csh or sh shell programs must be disabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-2225 WG370 A22 SV-36309r2_rule Medium
Description
Users must not be allowed to access the shell programs. Shell programs might execute shell escapes and could then perform unauthorized activities that could damage the security posture of the web server. A shell is a program that serves as the basic interface between the user and the operating system. In this regard, there are shells that are security risks in the context of a web server and shells that are unauthorized in the context of the Security Features User's Guide.
STIG Date
APACHE 2.2 Server for UNIX Security Technical Implementation Guide 2018-07-06

Details

Check Text ( C-31107r2_chk )
Enter the following commands:

grep "Action" /usr/local/apache2/conf/httpd.conf grep "AddHandler" /usr/local/apache2/conf/httpd.conf

If either of these exist and they configure /bin/csh, or any other shell as a viewer for documents, this is a finding.
Fix Text (F-26772r1_fix)
Disable MIME types for csh or sh shell programs.